home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / envCPP31 / install.bat < prev    next >
Encoding:
DOS Batch File  |  2002-01-01  |  9.1 KB  |  118 lines

  1. ; install new presets (%0%: language, %1%: syntax configuration %2%: dictionary configuration)
  2.  
  3. :shared
  4.  
  5. INSTALL PRESET="presets/c++-asm.syntax"
  6. INSTALL PRESET="presets/c++-autodoc.syntax"
  7. INSTALL PRESET="presets/c++-makefile.syntax"
  8. INSTALL PRESET="presets/c++.api"
  9. INSTALL PRESET="presets/c++.context"
  10. INSTALL PRESET="presets/c++.references"
  11. INSTALL PRESET="presets/c++.templates"
  12. INSTALL PRESET="presets/c++.hunter"
  13. INSTALL PRESET="presets/c++.structure"
  14. INSTALL PRESET="presets/c++-header.structure"
  15. INSTALL PRESET="presets/c++-autodoc.structure"
  16. INSTALL PRESET="presets/c++-asm.structure"
  17. INSTALL PRESET="presets/%1%/c++.syntax"
  18. INSTALL PRESET="presets/%2%/c++.dictionary"
  19.  
  20. :sas-c
  21.  
  22. INSTALL PRESET="presets/compilers/sas-c/sas.keyboard"
  23. INSTALL PRESET="presets/compilers/sas-c/sas.api"
  24. INSTALL PRESET="presets/compilers/sas-c/%0%/sas.gadgets"
  25. INSTALL PRESET="presets/compilers/sas-c/%0%/sas.menu"
  26. INSTALL PRESET="presets/compilers/sas-c/%0%/sas.mouse"
  27.  
  28. FILETYPE ADD="#?.(c|cc|cpp|ccp|c++)"          PRI=127 PRESETS "c++.structure"         "c++.hunter" "c++.templates" "sas.api" "c++.syntax"          "c++.dictionary" "c++.context" "c++.references" "sas.keyboard" "sas.gadgets" "sas.menu" "sas.mouse" NAME="SAS/C"
  29. FILETYPE ADD="#?.(h|hh|hpp|hhp|h++)"          PRI=127 PRESETS "c++-header.structure"  "c++.hunter" "c++.templates" "sas.api" "c++.syntax"          "c++.dictionary" "c++.context" "c++.references" "sas.keyboard" "sas.gadgets" "sas.menu" "sas.mouse" NAME="SAS/C (Header)"
  30. FILETYPE ADD="#?.doc"                         PRI=127 PRESETS "c++-autodoc.structure" "c++.hunter"                 "sas.api" "c++-autodoc.syntax"  "c++.dictionary" "c++.context" "c++.references" "sas.keyboard" "sas.gadgets" "sas.menu" "sas.mouse" NAME="SAS/C (Autodoc)"
  31. FILETYPE ADD="#?.(a|asm|ass|i|s)"             PRI=127 PRESETS "c++-asm.structure"     "c++.hunter"                 "sas.api" "c++-asm.syntax"      "c++.dictionary"               "c++.references" "sas.keyboard" "sas.gadgets" "sas.menu" "sas.mouse" NAME="SAS/C (A68K)"
  32. FILETYPE ADD="(makefile#?|smakefile)"         PRI=127 PRESETS                         "c++.hunter"                 "sas.api" "c++-makefile.syntax"                                "c++.references" "sas.keyboard" "sas.gadgets" "sas.menu" "sas.mouse" NAME="SAS/C (Makefile)"
  33.  
  34. :vbcc
  35.  
  36. INSTALL PRESET="presets/compilers/vbcc/vbcc.keyboard"
  37. INSTALL PRESET="presets/compilers/vbcc/%0%/vbcc.gadgets"
  38. INSTALL PRESET="presets/compilers/vbcc/%0%/vbcc.menu"
  39.  
  40. FILETYPE ADD="#?.(c|cc|cpp|ccp|c++)"          PRI=127 PRESETS "c++.structure"         "c++.hunter" "c++.templates" "c++.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "vbcc.keyboard" "vbcc.gadgets" "vbcc.menu" NAME="vbcc"
  41. FILETYPE ADD="#?.(h|hh|hpp|hhp|h++)"          PRI=127 PRESETS "c++-header.structure"  "c++.hunter" "c++.templates" "c++.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "vbcc.keyboard" "vbcc.gadgets" "vbcc.menu" NAME="vbcc (Header)"
  42. FILETYPE ADD="#?.doc"                         PRI=127 PRESETS "c++-autodoc.structure" "c++.hunter"                 "c++.api" "c++-autodoc.syntax" "c++.dictionary" "c++.context" "c++.references" "vbcc.keyboard" "vbcc.gadgets" "vbcc.menu" NAME="vbcc (Autodoc)"
  43. FILETYPE ADD="#?.(a|asm|ass|i|s)"             PRI=127 PRESETS "c++-asm.structure"     "c++.hunter"                 "c++.api" "c++-asm.syntax"     "c++.dictionary"               "c++.references" "vbcc.keyboard" "vbcc.gadgets" "vbcc.menu" NAME="vbcc (A68K)"
  44. FILETYPE ADD="(makefile#?)"                   PRI=127 PRESETS                         "c++.hunter"                 "c++.api" "c++-makefile.syntax"                               "c++.references" "vbcc.keyboard" "vbcc.gadgets" "vbcc.menu" NAME="vbcc (Makefile)"
  45.  
  46. :gcc
  47.  
  48. INSTALL PRESET="presets/compilers/gcc/gcc.keyboard"
  49. INSTALL PRESET="presets/compilers/gcc/%0%/gcc.gadgets"
  50. INSTALL PRESET="presets/compilers/gcc/%0%/gcc.menu"
  51.  
  52. FILETYPE ADD="#?.(c|cc|cpp|ccp|c++)"          PRI=127 PRESETS "c++.structure"         "c++.hunter" "c++.templates" "c++.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "gcc.keyboard" "gcc.gadgets" "gcc.menu" NAME="gcc"
  53. FILETYPE ADD="#?.(h|hh|hpp|hhp|h++)"          PRI=127 PRESETS "c++-header.structure"  "c++.hunter" "c++.templates" "c++.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "gcc.keyboard" "gcc.gadgets" "gcc.menu" NAME="gcc (Header)"
  54. FILETYPE ADD="#?.doc"                         PRI=127 PRESETS "c++-autodoc.structure" "c++.hunter"                 "c++.api" "c++-autodoc.syntax" "c++.dictionary" "c++.context" "c++.references" "gcc.keyboard" "gcc.gadgets" "gcc.menu" NAME="gcc (Autodoc)"
  55. FILETYPE ADD="#?.(a|asm|ass|i|s)"             PRI=127 PRESETS "c++-asm.structure"     "c++.hunter"                 "c++.api" "c++-asm.syntax"     "c++.dictionary"               "c++.references" "gcc.keyboard" "gcc.gadgets" "gcc.menu" NAME="gcc (A68K)"
  56. FILETYPE ADD="(makefile#?)"                   PRI=127 PRESETS                         "c++.hunter"                 "c++.api" "c++-makefile.syntax"                               "c++.references" "gcc.keyboard" "gcc.gadgets" "gcc.menu" NAME="gcc (Makefile)"
  57.  
  58. :stormc
  59.  
  60. INSTALL PRESET="presets/compilers/stormc/stormc.keyboard"
  61. INSTALL PRESET="presets/compilers/stormc/stormc.api"
  62. INSTALL PRESET="presets/compilers/stormc/%0%/stormc.gadgets"
  63. INSTALL PRESET="presets/compilers/stormc/%0%/stormc.menu"
  64.  
  65. FILETYPE ADD="#?.(c|cc|cpp|ccp|c++)"          PRI=127 PRESETS "c++.structure"         "c++.hunter" "c++.templates" "stormc.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "stormc.keyboard" "stormc.gadgets" "stormc.menu" NAME="StormC"
  66. FILETYPE ADD="#?.(h|hh|hpp|hhp|h++)"          PRI=127 PRESETS "c++-header.structure"  "c++.hunter" "c++.templates" "stormc.api" "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "stormc.keyboard" "stormc.gadgets" "stormc.menu" NAME="StormC (Header)"
  67. FILETYPE ADD="#?.doc"                         PRI=127 PRESETS "c++-autodoc.structure" "c++.hunter"                 "stormc.api" "c++-autodoc.syntax" "c++.dictionary" "c++.context" "c++.references" "stormc.keyboard" "stormc.gadgets" "stormc.menu" NAME="StormC (Autodoc)"
  68. FILETYPE ADD="#?.(a|asm|ass|i|s)"             PRI=127 PRESETS "c++-asm.structure"     "c++.hunter"                 "stormc.api" "c++-asm.syntax"     "c++.dictionary"               "c++.references" "stormc.keyboard" "stormc.gadgets" "stormc.menu" NAME="StormC (A68K)"
  69. FILETYPE ADD="(makefile#?)"                   PRI=127 PRESETS                         "c++.hunter"                 "stormc.api" "c++-makefile.syntax"                               "c++.references" "stormc.keyboard" "stormc.gadgets" "stormc.menu" NAME="StormC (Makefile)"
  70.  
  71. :generic
  72.  
  73. INSTALL PRESET="presets/compilers/generic/c++.keyboard"
  74. INSTALL PRESET="presets/compilers/generic/%0%/c++.gadgets"
  75. INSTALL PRESET="presets/compilers/generic/%0%/c++.menu"
  76.  
  77. FILETYPE ADD="#?.(c|cc|cpp|ccp|c++)"          PRI=127 PRESETS "c++.structure"         "c++.hunter" "c++.templates" "c++.api"  "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "c++.keyboard" "c++.gadgets" "c++.menu" NAME="C/C++"
  78. FILETYPE ADD="#?.(h|hh|hpp|hhp|h++)"          PRI=127 PRESETS "c++-header.structure"  "c++.hunter" "c++.templates" "c++.api"  "c++.syntax"         "c++.dictionary" "c++.context" "c++.references" "c++.keyboard" "c++.gadgets" "c++.menu" NAME="C/C++ (Header)"
  79. FILETYPE ADD="#?.doc"                         PRI=127 PRESETS "c++-autodoc.structure" "c++.hunter"                 "c++.api"  "c++-autodoc.syntax" "c++.dictionary" "c++.context" "c++.references" "c++.keyboard" "c++.gadgets" "c++.menu" NAME="C/C++ (Autodoc)"
  80. FILETYPE ADD="#?.(a|asm|ass|i|s)"             PRI=127 PRESETS "c++-asm.structure"     "c++.hunter"                 "c++.api"  "c++-asm.syntax"     "c++.dictionary"               "c++.references" "c++.keyboard" "c++.gadgets" "c++.menu" NAME="C/C++ (A68K)"
  81. FILETYPE ADD="(makefile#?|dmakefile)"         PRI=127 PRESETS                         "c++.hunter"                 "c++.api"  "c++-makefile.syntax"                               "c++.references" "c++.keyboard" "c++.gadgets" "c++.menu" NAME="C/C++ (Makefile)"
  82.  
  83. :uninstall
  84.  
  85. UNINSTALL FILETYPE="SAS/C"
  86. UNINSTALL FILETYPE="SAS/C [(]Header[)]"
  87. UNINSTALL FILETYPE="SAS/C [(]Autodoc[)]"
  88. UNINSTALL FILETYPE="SAS/C [(]A68K[)]"
  89. UNINSTALL FILETYPE="SAS/C [(]Makefile[)]"
  90.  
  91. UNINSTALL FILETYPE="vbcc"
  92. UNINSTALL FILETYPE="vbcc [(]Header[)]"
  93. UNINSTALL FILETYPE="vbcc [(]Autodoc[)]"
  94. UNINSTALL FILETYPE="vbcc [(]A68K[)]"
  95. UNINSTALL FILETYPE="vbcc [(]Makefile[)]"
  96.  
  97. UNINSTALL FILETYPE="gcc"
  98. UNINSTALL FILETYPE="gcc [(]Header[)]"
  99. UNINSTALL FILETYPE="gcc [(]Autodoc[)]"
  100. UNINSTALL FILETYPE="gcc [(]A68K[)]"
  101. UNINSTALL FILETYPE="gcc [(]Makefile[)]"
  102.  
  103. UNINSTALL FILETYPE="StormC"
  104. UNINSTALL FILETYPE="StormC [(]Header[)]"
  105. UNINSTALL FILETYPE="StormC [(]Autodoc[)]"
  106. UNINSTALL FILETYPE="StormC [(]A68K[)]"
  107. UNINSTALL FILETYPE="StormC [(]Makefile[)]"
  108.  
  109. UNINSTALL FILETYPE="C/C++"
  110. UNINSTALL FILETYPE="C/C++ [(]Header[)]"
  111. UNINSTALL FILETYPE="C/C++ [(]Autodoc[)]"
  112. UNINSTALL FILETYPE="C/C++ [(]A68K[)]"
  113. UNINSTALL FILETYPE="C/C++ [(]Makefile[)]"
  114.  
  115. UNINSTALL BASEDIR="golded:add-ons/c++/"
  116. UNINSTALL BASEDIR="golded:etc/images/toolbar/c++/"
  117. UNINSTALL BASEDIR="golded:etc/updates/envCPP/"
  118.